import Vue from 'vue'
import Router from 'vue-router'
import mapPage from "../views/yuqing_map";
import screenPage from "../ScreenPage";
import map_detail from "../views/detail_page/map_detail";
import seven_hot_yuqing_detail from "../views/detail_page/seven_hot_yuqing_detail";
import today_yuqing_detail from "../views/detail_page/today_yuqing_detail";

Vue.use(Router)

export default new Router(
  {
    routes: [
      {
        path: '/',
        component: screenPage
      },
      {
        path: '/map',
        component: mapPage
      },
      {
        path: '/yuqing_map_detail',
        component: map_detail
      },
      {
        path: '/seven_hot_yuqing_rank',
        component: seven_hot_yuqing_detail
      },
      {
        path: '/today_yuqing_detail',
        component: today_yuqing_detail
      }
    ]
  })
